home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
system
/
danix201.zip
/
WC.1
< prev
next >
Wrap
Text File
|
1994-01-09
|
840b
|
35 lines
WC(1) Danix Utilities WC(1)
NAME
wc - count characters, words, or lines
SYNOPSIS
wc [-lwct] files ...
DESCRIPTION
wc counts the number of characters, words, and lines in the
file in the file list. If more than one file is given, a
total is printed at the end. If the file list is empty, or
a '-' is encountered in the file list, input is taken from
standard input.
-l Give a line count
-w Give a word count. Words are defined as any sequence of
printable characters.
-c Give a character count
-t Print only the totals for all files
Default is -lwc
EXAMPLES
wc -l files ...
prints out the number of lines in each file and prints
a sum total
<command> | wc -l file -
prints out the number of lines in the given file as well
as the standard input, and a sum total